
 
 
 
 
 
 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ X 
 
 V a r i a b l e   N u m e r i c   S l o t _ Y 
 
 V a r i a b l e   N u m e r i c   S l o t _ A 
 
 V a r i a b l e   N u m e r i c   S l o t _ Z 
 
 V a r i a b l e   N u m e r i c   S l o t _ R 
 
 
 
 S l o t _ X                         =   1 
 
 S l o t _ Y                         =   3 
 
 S l o t _ Z                         =   5 
 
 S l o t _ A                         =   2 5 
 
 S l o t _ R                         =   2 7 
 
 
 
 S t o p 
 
 
 
 L a b e l   R e s t o r e V a r s A n d P o s i t i o n s 
 
 	 L o a d   V a r s 
 
 	 I f   v 1   < >   0   A n d   v 2   < >   0   A n d   v 3   < >   0 
 
 	 	 S l o t ( S l o t _ X )   =   R e s e t 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 	 S l o t ( S l o t _ X )   =   v 1 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 	 ' 
 
 	 	 S l o t ( S l o t _ Y )   =   R e s e t 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 	 S l o t ( S l o t _ Y )   =   v 2 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 	 ' 
 
 	 	 S l o t ( S l o t _ Z )   =   R e s e t 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 	 S l o t ( S l o t _ Z )   =   v 3 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 	 ' 
 
 	 	 S l o t ( S l o t _ A )   =   R e s e t 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 	 S l o t ( S l o t _ A )   =   v 4 
 
 	 	 W a i t   S e c o n d s   0 . 0 1 
 
 	 E n d I f 
 
 R e t u r n 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     J O G   w i t h   k e y b o a r d 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   E x e c K e y s 
 
 	 V a r i a b l e   N u m e r i c   K e y J o g _ S p e e d 
 
 	 V a r i a b l e   N u m e r i c   J o g S p e e d 
 
 	 J o g S p e e d   =   K e y J o g _ S p e e d   /   1 0 0 
 
 	 S e l e c t   T r u e 
 
 	 	 C a s e   K e y ( " S H I F T " ) 
 
 	 	 	 J o g S p e e d   =   J o g S p e e d   *   0 . 1 
 
 	 	 C a s e   K e y ( " C T R L " ) 
 
 	 	 	 J o g S p e e d   =   J o g S p e e d   *   0 . 0 1 
 
 	 	 C a s e   K e y ( " A L T " ) 
 
 	 	 	 J o g S p e e d   =   J o g S p e e d   *   0 . 0 0 1 
 
 	 E n d S e l e c t 
 
 	 ' 
 
 	 I f   K e y ( " R i g h t " ) 
 
 	 	 S l o t   S l o t _ X   =   L i m i t ( S l o t ( S l o t _ X )   +   J o g S p e e d ,   0 ,   1 0 0 ) 
 
 	 E n d I f 
 
 R e t u r n 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     P R I N T   C O O R D I N A T E S 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   P r i n t V a l u e s 
 
 	 s 1   =               " X = "   +   F o r m a t ( S l o t ( S l o t _ X ) ,   " 0 . 0 0 0 " ) 
 
 	 s 1   =   s 1   +   "   Y = "   +   F o r m a t ( S l o t ( S l o t _ Y ) ,   " 0 . 0 0 0 " ) 
 
 	 s 1   =   s 1   +   "   Z = "   +   F o r m a t ( S l o t ( S l o t _ Z ) ,   " 0 . 0 0 0 " ) 
 
 	 s 1   =   s 1   +   "   R = "   +   F o r m a t ( S l o t ( S l o t _ R ) ,   " 0 . 0 0 0 " ) 
 
 	 ' s 1   =   s 1   +   "   A = "   +   F o r m a t ( S l o t ( S l o t _ A ) ,   " 0 . 0 0 0 " ) 
 
 	 P r i n t   s 1   +   C R L F 
 
 R e t u r n 
 
 
 
 
 
 ' W A T C H   s 1 
 
 ' W A T C H   R m a x 
 
 ' W A T C H   R m i n 
 
 ' E X E C   D e s t X   =   1 2 
 
 